﻿using Abp.AutoMapper;
using RMM.Core.Entity.Orders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RMM.Orders.Dtos
{
    [AutoMap(typeof(Order),typeof(CreateOrderDto))]
    public class CreateOrderDistanceDto
    {
        /// <summary>
        /// 下单地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 折扣
        /// </summary>
        public decimal? Discount { get; set; }

        /// <summary>
        /// 优惠券金额
        /// </summary>
        public decimal? Coupon { get; set; }

        /// <summary>
        /// 预约人数 默认传1
        /// </summary>
        public int Num { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string MakeMobile { get; set; }

        /// <summary>
        /// 联系人姓名
        /// </summary>
        public string MakeName { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string MakeRemake { get; set; }

        /// <summary>
        /// 纬度
        /// </summary>
        public double Latitude { get; set; }

        /// <summary>
        /// 精度
        /// </summary>
        public double Longitude { get; set; }


        /// <summary>
        /// 分类id
        /// </summary>
        public int cateId { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime ServerStartDate { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime ServerEndDate { get; set; }
    }
}
